import axios from "axios";
export default {
  // 获取渠道下拉
  getChannelList(){
    let url = `/szgjadmin/base/getChannelSelect`
    return axios.get(url)
  },
  // 获取产品下拉
  getProductList(){
    let url = `/szgjadmin/base/getProdctSelect`
    return axios.get(url)
  },
  // 获取账号类型(权限)下拉
  getAccountTypeList(){
    let url = `/szgjadmin/base/getRoleSelect`
    return axios.get(url)
  },
  // 上传图片到OSS
  uploadToOss(){
    let url = `${process.env.BASE_API}/szgjadmin/base/uploadFileToOss`
    return url
  },
   // 上传凭证图片到OSS
   uploadPzToOss(){
    let url = `${process.env.BASE_API}/szgjadmin/base/uploadPzToOss`
    return url
  },
  getBussinessIdList (){
    let url = `/szgjadmin/base/getBussinessIdList`
    return axios.get(url)
  },
 
}